<?php
//require_once(dirname(__FILE__).'/../symfony/config/ProjectConfiguration.class.php');
require_once(dirname(__FILE__).'/../config/ProjectConfiguration.class.php');

$__app = 'frontend';

require_once(dirname(__FILE__).'/../config/ProjectConfigurationEnvironnement.class.php');

$error_details = true;
/*
if($__env == 'prod')
{
	$error_details = false;
}
else
{
	$error_details = true;
}
*/
$configuration = ProjectConfiguration::getApplicationConfiguration($__app, $__env, $error_details);
sfContext::createInstance($configuration)->dispatch();

/*if(isset($__env)) {
    $configuration = ProjectConfiguration::getApplicationConfiguration($__app,  $__env, false);
    sfContext::createInstance($configuration)->dispatch();
   
} else {
    die('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
}*/
// in index.php, the production front controller,
// the debug mode is deactivated
//define('SF_DEBUG', false);